<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>菜单</title>
		<style>
			ul{
				list-style: none;/*去掉前面的.点*/
			}
			li{
				float: left;/*float浮动：居左 li不换行*/
				margin-right: 8px;/*外右侧空白*/
				background-color: #B8860B;/*背景色*/
				padding: 10px 10px 10px 10px;/*四处留白*/
				border-radius: 5px;
				
			}
			li:hover{/*鼠标移入会变色*/
				background-color: aqua;/*背景色*/
			}
			a{
				text-decoration: none;/*取消超链接下划线*/
				color: white;/*字体颜色*/
				
			}
			
		</style>
	</head>
	<body>
		<h3>使用ul和li标签实现</h3>
		<h5>a标签实现超链接  target="_blank"弹出页面</h5>
		https://www.w3school.com.cn/
		https://www.runoob.com/
		https://www.csdn.net/
		https://segmentfault.com/
		
		<ul>
			<li><a href="https://www.w3school.com.cn/" target="_blank">W3CShool</a></li>
			<li><a href="https://www.runoob.com/">菜鸟教程</a></li>
			<li><a href="https://www.csdn.net/" target="_blank">CSDN</a></li>
			<li><a href="https://segmentfault.com/" target="_blank">思否</a></li>
			<li><a href="http://act.codeboy.com" target="_blank">Java培优</a></li>
		</ul>
	</body>
</html>
